import { PLATFORM_Map } from "@/constant/index";
import workmanagement from "@/assets/images/leftminsvg/workmanagement.svg?component";
export default {
	path: '/work-management/work-managements',
	redirect: '/work-management/work-management',
	meta: {
		title: '工单管理',
		showLink: true,
		rank: 8,
		icon: workmanagement,
		platform: [PLATFORM_Map.operate],
		roles: ['business.workOrder']
	},
	children: [
		{
			name: 'work-management',
			path: '/work-management/work-management',
			component: () => import('@/views/operate/work-management/work-management/index.vue'),
			meta: {
				title: '工单管理',
				showParent: true,
				roles: ['business.workOrder.workOrder.workOrder']
			}
		},
		{
			name: 'process-configuration',
			path: '/work-management/process-configuration',
			component: () => import('@/views/operate/work-management/process-configuration/index.vue'),
			meta: {
				title: '流程配置',
				showParent: true,
				roles: ['business.workOrder.proc.list']
			}
		}
	]
} satisfies RouteConfigsTable;
